home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / What's New? / Reference Library / Sample Code / Inline Input for TextEdit / InlineInputSample / InlineInputSample.make < prev    next >
Encoding:
Text File  |  1993-12-10  |  2.9 KB  |  82 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        InlineInputSample.make
  3. #
  4. #    Contains:    make file for InlineInputSample variants
  5. #
  6. #    Copyright:    © 1989, 1993 Apple Computer, Inc. All rights reserved.
  7. #
  8.  
  9. #    Build Information
  10. #    -----------------
  11. #    InlineInputSample relies on the Universal C interfaces, which support
  12. #    compilation for both 68K and PowerPC. These interfaces should be
  13. #    widely available by the time you get to see this. InlineInputSample
  14. #    has been successfully built with the Universal interfaces of 11/9/93.
  15. #    It also needs the universal TSMTE.h interface file which you find in
  16. #    the TSMTE Interfaces folder; please move it into your PPCCIncludes
  17. #    folder.
  18. #
  19. #    This makefile assumes that you have set the Shell variable
  20. #    PPCCIncludes to the name of the folder containing the Universal interfaces.
  21. #
  22. #    This makefile lets you build three applications:
  23. #        - InlineInputSample, which supports inline input using TSMTE
  24. #        - SimpleSample, which doesn't
  25. #        - AppleEventsSample, which adds Apple events to SimpleSample as an
  26. #            intermediate step towards supporting inline input
  27. #
  28. #    You can execute
  29. #        Make -f InlineInputSample.make All
  30. #    to get the build commands for all three versions.
  31.         
  32.  
  33. Obj = :Objects:
  34.  
  35. GenericObjs68K = ∂
  36.             {Obj}InlineInputSample.a.o ∂
  37.             "{Libraries}"Runtime.o ∂
  38.             "{Libraries}"Interface.o
  39.  
  40.  
  41. .68KCode ƒ .c.o
  42.     Link -o {targDir}{default}.68KCode {depDir}{default}.c.o {GenericObjs68K}
  43.  
  44. {Obj}SimpleSample.68KCode {Obj}AppleEventsSample.68KCode {Obj}InlineInputSample.68KCode ƒ {Obj}InlineInputSample.a.o
  45.  
  46. {Obj} ƒ {Obj}
  47.  
  48.  
  49. All ƒ    InlineInputSample ∂
  50.         AppleEventsSample ∂
  51.         SimpleSample
  52.  
  53.  
  54. SimpleSample ƒ {Obj}SimpleSample.68KCode InlineInputSample.r InlineInputSample.h
  55.     Duplicate -r -y {Obj}SimpleSample.68KCode {Targ}
  56.     Rez -d qAppleEvents=0 -d qInline=0 -d qPowerPC=0 -rd -append -o {Targ} InlineInputSample.r
  57.     SetFile {Targ} -t APPL -c 'issa' -a Bi
  58.  
  59.  
  60. AppleEventsSample ƒ {Obj}AppleEventsSample.68KCode InlineInputSample.r InlineInputSample.h
  61.     Duplicate -r -y {Obj}AppleEventsSample.68KCode {Targ}
  62.     Rez -d qAppleEvents=1 -d qInline=0 -d qPowerPC=0 -rd -append -o {Targ} InlineInputSample.r
  63.     SetFile {Targ} -t APPL -c 'issa' -a Bi
  64.  
  65.  
  66. InlineInputSample ƒ {Obj}InlineInputSample.68KCode InlineInputSample.r InlineInputSample.h
  67.     Duplicate -r -y {Obj}InlineInputSample.68KCode {Targ}
  68.     Rez -d qAppleEvents=1 -d qInline=1 -d qPowerPC=0 -rd -append -o {Targ} InlineInputSample.r
  69.     SetFile {Targ} -t APPL -c 'issa' -a Bi
  70.  
  71.  
  72. {Obj}SimpleSample.c.o ƒƒ InlineInputSample.c InlineInputSample.h
  73.     C -d qAppleEvents=0 -d qInline=0 -r InlineInputSample.c -o {targ} -i {PPCCIncludes}
  74.  
  75. {Obj}AppleEventsSample.c.o ƒƒ InlineInputSample.c InlineInputSample.h
  76.     C -d qAppleEvents=1 -d qInline=0 -r InlineInputSample.c -o {targ} -i {PPCCIncludes}
  77.  
  78. {Obj}InlineInputSample.c.o ƒƒ InlineInputSample.c InlineInputSample.h
  79.     C -d qAppleEvents=1 -d qInline=1 -r InlineInputSample.c -o {targ} -i {PPCCIncludes}
  80.  
  81. {Obj}InlineInputSample.a.o ƒ InlineInputSample.a
  82.     Asm InlineInputSample.a -o {Obj}InlineInputSample.a.o